home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.19950329-19950528 / 000239_news@columbia.edu_Wed Apr 26 03:18:58 1995.msg < prev    next >
Internet Message Format  |  2020-01-01  |  2KB

  1. Received: from apakabar.cc.columbia.edu by watsun.cc.columbia.edu with SMTP id AA27549
  2.   (5.65c+CU/IDA-1.4.4/HLK for <kermit.misc@watsun.cc.columbia.edu>); Wed, 26 Apr 1995 12:24:02 -0400
  3. Received: by apakabar.cc.columbia.edu id AA24781
  4.   (5.65c+CU/IDA-1.4.4/HLK for kermit.misc@watsun); Wed, 26 Apr 1995 12:23:59 -0400
  5. Path: news.columbia.edu!sol.ctr.columbia.edu!news.kei.com!news.mathworks.com!udel!gatech!swrinde!cs.utexas.edu!news.cs.utah.edu!cc.usu.edu!jrd
  6. From: jrd@cc.usu.edu (Joe Doupnik)
  7. Newsgroups: comp.protocols.kermit.misc
  8. Subject: Re: kermit script suspends with escape
  9. Message-Id: <1995Apr26.091858.48723@cc.usu.edu>
  10. Date: 26 Apr 95 09:18:58 MDT
  11. References: <EGORMAN.95Apr24171009@dev27>
  12. Followup-To: comp.protocols.kermit.misc
  13. Organization: Utah State University
  14. Lines: 27
  15. Apparently-To: kermit.misc@watsun.cc.columbia.edu
  16.  
  17. In article <EGORMAN.95Apr24171009@dev27>, egorman@dev27 (Eugene Gorman) writes:
  18. >     I have created a dialup kermit script that will suspend on the
  19. > appearance of an escape (ie ^[).  The site I connect to sends out and
  20. > escape right after the CONNECT message, and my kermit script stops.
  21. > If I hit return at this point, the script will continue and work just
  22. > fine.  I am trying to run this without human intervention.  Is there a
  23. > way to tell the kermit script to ignore escapes?  If I run this by
  24. > hand, I am not suspended.
  25. ---------
  26.     I think I understand your situation, and the cure too.
  27.     The problem is the remote host sends some bytes during the
  28. Connect process, and the last of them is ESC. At that point your script
  29. halts and you need to intervene to continue.
  30.     Here's my guess. You are echoing arriving material to the screen
  31. and ANSI.SYS is loaded. ANSI.SYS is trying to "parse" (recognize) control
  32. sequences and it got the lead-in, ESC, for one. Thus it sits there waiting
  33. for more of the sequence before displaying more text. It's running, but
  34. we can't see that. The script is running, but ANSI.SYS has suspended screen
  35. updates until a control-sequence terminator (typically a letter) has
  36. arrived.
  37.     My suggestions are
  38.     a) turn off script echoing (SET INPUT ECHO OFF) through the ESC,
  39. or    b) match on material up to or well after the ESC. I think the ESC
  40. is part of a control sequence sent to you and it's best to let Kermit's
  41. terminal emulator deal with it.
  42.     Joe D.